package com.hsylient.event.listener;

import com.hsylient.event.entity.Order;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class OrderListener {


    @EventListener
    public void orderLog(Order order) {
        System.out.println(order);
    }

}
